export default {
    data() {
        return {
            form:{

            }
        }
    },
    methods: {
        async fetch() {
            const _id = this.$route.params._id || localStorage._id;
            const res = await this.$http.get(`data/${_id}`);
            this.form = res.data.data;
        }
    },
    created() {
        this.fetch();
    }
}